## Project: Lario
## Module: Definitions
## Author: Salwan

import pygame

# game defs
TIME_STEP = 1.0 / 60.0
LANG_EN = 0
LANG_AR = 1

# Player controls
CONTROL_LEFT = 200
CONTROL_RIGHT = 201
CONTROL_UP = 202
CONTROL_DOWN = 203
CONTROL_JUMP = 204

# Main Menu Textures
TEX_MM_GROUND = 300
TEX_MM_CURTAIN = 301

MainMenuData = {
    TEX_MM_GROUND:      pygame.Rect(0, 209, 256, 47),
    TEX_MM_CURTAIN:     pygame.Rect(224, 25, 32, 22),
}

# Controls
PlayerKeyboardControls = {
                1:      {
                            CONTROL_LEFT:   pygame.K_LEFT,
                            CONTROL_RIGHT:  pygame.K_RIGHT,
                            CONTROL_UP:     pygame.K_UP,
                            CONTROL_DOWN:   pygame.K_DOWN,
                            CONTROL_JUMP:   [pygame.K_SPACE, pygame.K_RCTRL],
                        },
                2:      {
                            CONTROL_LEFT:   pygame.K_a,
                            CONTROL_RIGHT:  pygame.K_d,
                            CONTROL_UP:     pygame.K_w,
                            CONTROL_DOWN:   pygame.K_s,
                            CONTROL_JUMP:   [pygame.K_LCTRL],
                        }
}